package com.ship.auth.service;


import com.ship.auth.entity.vo.AuthenticationUserVo;

public interface AuthenticationService {
    /**
     * 获取认证统一登录
     * @return
     */
    String authenticationLogin(String type);

    /**
     * 通过授权码接口返回地址，获取token
     * @param code
     * @param state
     */
    AuthenticationUserVo getAuthenticationToken(String code, String state);

    /**
     * 获取统一身份验证-----用户信息
     * @param accessToken
     * @return
     */
    AuthenticationUserVo getUserInfo(String accessToken,String uid);

}
